import LayerTips from '@/components/tips';
import Layer from '@/components/layer';

import Select from '@/components/Select';
import Option from '@/components/option';
import Grade from '@/components/choseGrade';
import UploadImg from '@/components/UploadImg'
import Imgbox from '@/components/imgbox'
import ScrollRow from '@/components/scroll_row'
import Table from '@/components/table'
import TableColumn from '@/components/table-column'





import Vue from 'vue'
const components = [
    Layer,
    Select,
    Option,
    UploadImg,
    Imgbox,
    Grade,
    ScrollRow,
    Table,
    TableColumn
]

const install = function(Vue, opts = {}) {
    components.forEach(component => {
        Vue.component(component.name, component);
    });

    Vue.prototype.$LayerTips = LayerTips.install
};

install(Vue);

